// utils/menu.js
import service from './request'

export function getCategories(params) {
  return service.get('/menu/categories', { params })
}

export function getDishes(params) {
  return service.get('/menu/dishes', { params })
}

export function getDishDetail(dishId) {
  return service.get(`/menu/dishes/${dishId}`)
}
